﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SimpleMvvmToolkit;

namespace GUIEXAM13
{
    public class EventDomain: ModelBase<EventDomain>
    {
        private string _id;
        public string Id
        {
            get { return _id; }
            set
            {
                _id = value;
                NotifyPropertyChanged(m => m.Id);
            }
        }

        private string _title = "New Event";
        public string Title
        {
            get { return _title; }
            set
            {
                _title = value;
                NotifyPropertyChanged(m => m.Title);
            }
        }

        private string _comments;
        public string Comments
        {
            get { return _comments; }
            set
            {
                _comments = value;
                NotifyPropertyChanged(m => m.Comments);
            }
        }

        private ObservableCollection<ClothingDomain> _clothing;
        public ObservableCollection<ClothingDomain> Clothing
        {
            get { return _clothing; }
            set
            {
                _clothing = value;
                NotifyPropertyChanged(m => m.Clothing);
            }
        }
    }
}
